<?
ob_start();
session_start();
if(!session_is_registered("user"))
header("location:home_hrd.php")
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>pelamarlolos1</title>
<link href="styleadmin.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="styleadmin.css" type="text/css" />
<style type="text/css">
<!--
body {
	background-color:  #DDFBF2;
}
.style3 {
	color: #999999;
	font-size: 18;
}
.style4 {font-family: Verdana, Arial, Helvetica, sans-serif}
.style5 {color: #334D55}
.style7 {font-family: Verdana, Arial, Helvetica, sans-serif; color: #334D55; }
-->
</style></head>

<body>
<div id="header">
    <img src="image/logo_kanisius.gif"  />
</div>

<div id="garis">
</div>	

<div id="contenthome">
<form id="form1" name="form1" method="post" action="simpan_lolos1.php">

  	 <div id="leftcontenthome">
	 <div id="linksectionhome"><a href="data_pelamar.php">Data Pelamar</a></div>
	 <div id="linksectionhome"><a href="pelamarlolos1.php">Pelamar Lolos 1</a></div>
	 <div id="linksectionhome"> <a href="list_nilai_pelamar.php">Nilai Pelamar</a> </div>
	 <div id="linksectionhome"> <a href="sppk.php">SPPK</a> </div>
	 <!--<div id="linksectionhome"> <a href="tes.php">Tes</a> </div>-->
	 <!--<div id="linksectionhome"> <a href="syarat.php">Syarat</a> </div>-->
	 <div id="linksectionhome"> <a href="lowongan.php">Lowongan</a> </div>
	 <div id="linksectionhome"><a href="logout.php">Logout</a></div>
	 </div>

<div id="rightcontenthome"> 
<?php
			 include "../librari/koneksi.php";
			echo "<h2><strong>DATA PELAMAR</strong></h2>
	  <table>
	<tr>
	<th>No</th>
	<th>tahun</th>
	<th>gel</th>
	<th>nama</th>
	<th>email</th>
	<th>posisi</th>
	<th> </th>
	
		
	</tr>";
			$tampil = "Select * from pelamar order by idPelamar asc";
			$hasil=mysql_query($tampil);
                $no=+1;
                while ($r=mysql_fetch_array($hasil)){
			//	if (lolos==1);
													
	 echo "
	 	   <tr><td>$no</td>
		   <td>$r[tahun]</td>
		   <td>$r[gelombang]</td>
		   <td>$r[nama]</td>
		   <td>$r[email]</td>
		   <td>$r[posisi]</td>
		   <td><center><a href=pelamar.php?id=$r[idPelamar]>Lihat detail</a></div></td>";
           
$no++;
}
echo "</table>";
	
?>
<!--  </div> -->
  <label>
  <input type="submit" name="Simpan" value="Simpan" />
  </label>
</form>
</div>

</body>
</html> 

<?
ob_end_flush();
?>
